<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹性布局元素在另一根轴上的对齐方式</title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			#f1{
				height: 600px;
				width: 800px;
				border: 2px solid green;
				display:flex; 
				flex-flow: row wrap;
				/* justify-content: space-around; */
				/* align-items: flex-end; */
				align-content: flex-end;
			}
			#f1>div{
				height: 100px;
				width: 100px;
				line-height: 100px;
				background-color: blueviolet;
				color: white;
			 	margin: 5px;
				font-size: 40px;
				text-align: center; 
				
			}
			/* #f1 div:nth-child(3){
				height: 500px;
				background-color: aqua;
			} */
		</style>
	</head>
	<body>
		<div id="f1">
			<div>1</div>
			<div>2</div> 
			<div>3</div>
			<div>4</div>
			<!-- <div>5</div>
			<div>6</div>
			<div>7</div>
			<div>8</div>
			<div>9</div>
			<div>10</div>
			<div>11</div>
			<div>12</div>
			<div>13</div>
			<div>14</div>
			<div>15</div>
			<div>16</div>
			<div>17</div>
			<div>18</div> -->
		</div>
	</body>
</html>